package com.andy.blog.dal.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * Created by andy on 2024/4/2 13:28
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AlbumPhotoVO {

    /**
     * id
     */
    private Long id;
    /**
     * 父id
     */
    private Long parentId;

    /**
     * 照片名
     */
    @NotBlank(message = "照片名称不能为空")
    private String photoName;

    /**
     * 类型
     */
    private String photoType;

    /**
     * 照片链接
     */
    private String photoUrl;

    /**
     * 照片描述
     */
    private String photoDesc;

    private List<String> typeList;
}
